package com.ship.dispatch.bean.fob;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.base.Joinable;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import com.ship.dispatch.annotation.ModifiableField;
import lombok.Data;

import java.util.Date;

/**
 * 商务执行开始上传 TCP/Term sheet
 */
@Data
@TableName("sp_fob_sublease_redelivery_notice")
public class SpFobSubleaseRedeliveryNotice extends SpFobBaseBean implements Joinable {

    @ModifiableField(name = "邮件模板id")
    @Label(value = "邮件模板id")
    @TableColumn
    private String templateId;
    @Label(value = "邮件正文")
    @TableColumn
    private String content;
    @Label(value = "备注")
    @TableColumn
    private String remark;
    @Label(value = "收到还船通知时间")
    @TableColumn
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ModifiableField(name = "收到还船通知时间")
    private Date redeliveryDate;
    @Label(value = "还船通知")
    @TableColumn
    @ModifiableField(name = "还船通知")
    private String notice;

    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
